This is version 1.2 of the Cookbook Stack, a stack to import and classify recipes from UseNet groups like as well as keep track of your own ones.
This stack features:
• ability to import plain recipes from the UseNet group
rec.food.recipes.
• ability to import (nroff) formatted recipes that are part of the
“UseNet CookBook”.
• formatted recipes can be imported in the metric or imperial
system, or both.
• automatic table of contents (sort by category or name)
• click and go from table of contents
• simple calculator to convert to and from the metric system
• sorting, either by name or by category
• printing of the recipe in "fast" mode
• several recipes that were posted on UseNet by the end of 1990.
Each card has four fields on it:
• the title
• the category (e.g. Main dish, Soup, BEEF, OVO-LACTO, ...)
• the recipe itself
• the credits (this field is hidden until you hit the credits button)
The catagory field can be clicked to jump to the next card of the same catagory. This can only be used when the card is locked.
The table of contents card contains an additional recipe count field. It can be clicked to regenerate the table of contents.
One can import recipes from a UseNet group by clicking the picture of a cooking pan below this text. The articles in this group should be saved in a file beforehand.
If the recipe is formatted using the “Usenet Cookbook” nroff macro's, one can choose the metric system (kg, l, °C), the American system (lb, cup, °F) or both.
When importing from rec.food.recipes, the title and category fields are filled using the "Subject:" line of the article. The "From:", "Date:" and "Keywords:" header lines of the article are saved in a (hidden) credits field. This field can be inspected by clicking the second button at the bottom. The recipe field of each card is filled with the body of the UseNet article.
When importing “Usenet Cookbook” recipes, the title and category fields are filled with the .RH and .RZ macro lines. All text after the .WR macro goes into the credits field.
There are ten buttons just below the main text box.
From left to right the buttons are:
• the "Home" card button
• the info button which shows the credits for the current card.
• a button that brings you to this card.
• a button that brings you to the table of contents.
• a button that pops up a small unit conversions calculator.
• a button to print the recipe
• a button to sort the stack
• a button to move to the previous card
• and one to move to the next
• and finaly one "return" button
Additionally, a "lock / unlock" button is present in the top right corner to make the recipe text editable.
On the first card an additional button can be selected to import a file with messages from the UseNet group rec.food.recipes
The file can be obtained by saving articles in this group.
(1) When the name of the recipe is too long and it wraps in the table of
contents the "click and go" algorithm of the table of contents card
will fail.
(2) When the category field is empty, the title will not show up in the
table of contents.
(3) The imported cards will need some post editing in general. This can
be done after clicking the lock icon in the top right corner.
(4) The file with saved articles will not need any preprocessing,
extraneous linefeeds will be deleted. The file type has to be 'TEXT'.
(5) The import algorithm for rec.food.recipe assumes that each
message containing a recipe starts with a line "From
rec.food.recipes" and that the recipe itself starts on the first line
that doesn't begin with a mail header word, that is, a word
followed by a colon (":"). For formatted “Usenet Cookbook”
recipes, it is assumed that every recipe starts with a ".RH" line.
(6) If, during importing, the line "From rec.food.recipes" is not found
in the first 50 lines, it is assumed that the file does not contain
any recipes
This stack is "Happyware": If you like it, send me a post card of your home town.